cart = ['name1', 'name2', 'name3', 'name4']
for item in cart:
    print(item)

total = 0
price = [23, 43, 45, 56, 67, 45]
for item in price:
    total += item
print(total)
